package com.keepc.excel.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("orders")
public class DataRecord {

    @TableId
    @ExcelProperty("ID")
    private Integer id;

    @ExcelProperty("用户ID")
    private Integer userId;

    @ExcelProperty("产品ID")
    private Integer productId;

    @ExcelProperty("金额")
    private BigDecimal amount;

    @ExcelProperty("订单时间")
    private Date orderTime;

    @ExcelProperty("订单地址")
    private String address;

}